package com.polysoft.demo.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.polysoft.demo.dao.UserMapper;
import com.polysoft.demo.model.UserBO;
import com.polysoft.demo.service.IUserService;

@Service
public class UserService implements IUserService{

	@Resource
	private UserMapper userDao;
	
	@Override
	public UserBO getUserById(int id) {
		return userDao.getUserById(id);
	}

	@Override
	public List<UserBO> findList() {
		return userDao.findList();
	}

}
